{include file="public/header" /}

<body>
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-body ">
                        <blockquote class="layui-elem-quote">
                            欢迎使用:{:env('app.name')}系统 ！
                            管理员：{$admin.nickname}！
                            上次登陆时间:{$admin.updated|date='Y-m-d H:i:s'}
                        </blockquote>
                    </div>
                </div>
            </div>

            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header">数据统计</div>
                    <div class="layui-card-body ">
                        <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>今日BTCG价格</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.price|default=0}USDT</cite>
                                    </p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>1算力可兑换</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.exchange|default=0}BTCG</cite>
                                    </p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>平台累计会员</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.user|default=0}人</cite>
                                    </p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>平台认证会员</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.authuser|default=0}人</cite>
                                    </p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>今日发布交易价格范围</h3>
                                    <p>
                                        <cite
                                            id="buykeylistcount">{$data.minprice|default=0}~{$data.maxprice|default=0}cny</cite>
                                    </p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>当前交易求购量</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.hall|default=0}BTCG</cite>
                                    </p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>当前交易量</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.halltrade|default=0}BTCG</cite>
                                    </p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>已完成交易量</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.halltradeend|default=0}BTCG</cite>
                                    </p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>投诉订单数</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.halltradeappeal|default=0}单</cite>
                                    </p>
                                </a>
                            </li>
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <h3>平台待提USDT(提取后不更新会存在误差)</h3>
                                    <p>
                                        <cite id="buykeylistcount">{$data.wallet|default=0}U</cite>
                                    </p>
                                </a>
                            </li>

                        </ul>
                        <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                            {foreach $data.machines as $v}
                            <li class="layui-col-md2 layui-col-xs6">
                                <a href="javascript:;" class="x-admin-backlog-body">
                                    <p><cite id="buykeylistcount">矿机名称:{$v.name|default=''}</cite></p>
                                    <p>累计购买矿机量:{$v.allcount|default=0}台</p>
                                    <p>进行中矿机数量:{$v.ingscount|default=0}台</p>
                                    <p>累计释放收益:{$v.allincome|default=0}BTCG</p>
                                    <p>累计待领取收益:{$v.income|default=0}BTCG</p>
                                    <p>今日释放收益:{$v.todayincome|default=0}BTCG</p>
                                </a>
                            </li>
                            {/foreach}
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
</body>

</html>